; Copyright (c) Microsoft Corporation.  All rights reserved.

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%SiS%
DriverVer=04/14/2010,7.2.0.1232
CatalogFile=sisagp.cat


[DestinationDirs]
;DefaultDestDir = 12         ; DIRID_DRIVERS
CopySiSAGP	=	12

[SourceDisksNames]
1 = %DiskId%,,,""

[SourceDisksFiles]
sisagpx.sys  = 1

[Manufacturer]
%SIS_MFG%=SIS_SYS,NTAMD64.6.1

[SIS_SYS.NTAMD64.6.1]
%PCI\VEN_1039&DEV_0003.DeviceDesc% = UAGP35_Install,PCI\VEN_1039&DEV_0003

;**************************************************************************
; AGP filters that sit on top of PCI
;

;
; Microsoft AGPv3.5
;
[UAGP35_Install]
CopyFiles=CopySiSAGP

[UAGP35_Filter_Reg]
HKR,,"UpperFilters", 0x00010000,"UAGP35"
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\drivers\sisagpx.sys"
HKR,,TypesSupported,%REG_DWORD%,7

[UAGP35_Install.HW]
AddReg = UAGP35_Filter_Reg

[CopySiSAGP]
sisagpx.sys

[UAGP35_Install.Services]
;Include=machine.inf
AddService = uagp35,0,uagp35_ServiceInstallSection
;AddService = pci, %SPSVCINST_ASSOCSERVICE%, pci_ServiceInstallSection
DelService = agp440
DelService = viaagp1

[uagp35_ServiceInstallSection]
DisplayName    = %uagp35_svcdesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\sisagpx.sys
LoadOrderGroup = PnP Filter


[Strings]
; localizable
DiskId       = "Silicon Integrated Systems DISK (AGP)"

SystemClassName = "System devices"
MSFT            = "Microsoft"
SiS            = "Silicon Integrated Systems"

SIS_MFG = "Silicon Integrated Systems"
PCI\VEN_1039&DEV_0003.DeviceDesc = "SIS AGP Controller"


;service descriptions
uagp35_svcdesc = "SiS AGPv3.5 Filter"

;*******************************************
;Non-localizable, Handy macro substitutions
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_SYSTEM_START   = 1
SERVICE_DEMAND_START   = 3
SERVICE_ERROR_NORMAL   = 1
SERVICE_ERROR_CRITICAL = 3
REG_EXPAND_SZ          = 0x00020000
REG_DWORD              = 0x00010001

